Skip to content

Move from OSSRH to maven central publishing#924

Merged
jprakash-db merged 12 commits into
mainfrom
jprakash-db/mvn-test
Aug 10, 2025
Merged

Move from OSSRH to maven central publishing#924
jprakash-db merged 12 commits into
mainfrom
jprakash-db/mvn-test

Conversation

@jprakash-db
Copy link
Copy Markdown
Collaborator

@jprakash-db jprakash-db commented Aug 5, 2025

Description

Moved the jar publishing action from the legacy OSSRH/Sonatype deployment approach to the new Maven Central Publishing and updated GitHub Actions workflow.

More context - https://central.sonatype.org/news/20250326_ossrh_sunset/

Plugin and Dependency Updates

Upgraded maven-source-plugin to version 3.3.1 (from 3.3.0).
Upgraded maven-javadoc-plugin to version 3.8.0 (from 3.6.0).

Testing

Released the v1.0.8-oss using this action

Additional Notes to the Reviewer

NA

NO_CHANGELOG=true

@jprakash-db jprakash-db requested review from Copilot and gopalldb August 7, 2025 11:37
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR migrates from the legacy OSSRH/Sonatype deployment approach to the new Maven Central Publishing system, preparing for the OSSRH sunset in March 2025. The changes update the Maven build configuration and GitHub Actions workflow to use the modern central-publishing-maven-plugin.

  • Replaced legacy OSSRH deployment configuration with central-publishing-maven-plugin
  • Updated Maven plugin versions (maven-source-plugin to 3.3.1, maven-javadoc-plugin to 3.8.0)
  • Modified GitHub Actions workflow to use new Maven Central credentials and GPG configuration

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

File Description
uber-minimal-pom.xml Removed legacy OSSRH distributionManagement configuration
pom.xml Updated plugin versions and replaced OSSRH deployment with central-publishing-maven-plugin
.github/workflows/release.yml Updated workflow to use new Maven Central credentials and added GPG configuration

Comment thread pom.xml
Comment thread pom.xml
@samikshya-db samikshya-db changed the title Testing maven release Move from OSSRH to maven central publishing Aug 7, 2025
@jprakash-db jprakash-db merged commit 0e6af2a into main Aug 10, 2025
17 of 20 checks passed
@jprakash-db jprakash-db deleted the jprakash-db/mvn-test branch August 10, 2025 06:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants